package com.stylefeng.guns.modular.vpn_package_info.service;

import com.stylefeng.guns.modular.system.model.VpnPackageInfo;
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.vpn.dto.PackageDTO;
import com.stylefeng.guns.modular.vpn_package_info.dto.AddDiscountDTO;
import com.stylefeng.guns.modular.vpn_package_info.dto.PackageInfoDTO;
import com.stylefeng.guns.modular.vpn_package_info.entity.VpnPackageItemDO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author stylefeng
 * @since 2020-03-02
 */
public interface IVpnPackageInfoService extends IService<VpnPackageInfo> {
    void updatePackageStatus(Integer packageId,Integer status);
    void addPackage(PackageDTO dto);
    void updatePackage(PackageInfoDTO dto);
    void addDiscount(AddDiscountDTO dto);
    Object shortVpnPackageList();
    Object filterList();
    Object packageList();
    List<VpnPackageItemDO> findPackageItemByPackageId(Integer packageId);
}
